package com.itheima.dao;

import com.itheima.pojo.Admin;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

public interface AdminMapper extends Mapper<Admin> {

    @Update("update t_admin set pass_word=#{encode} where uid=#{uid}")
    void restPassword(@Param("uid") String uid,@Param("encode") String encode);
}
